﻿@model Achievement.DataModels.Achievements
<div id="documentViewer" class="flexpaper_viewer" style="width:100%;height:1000px"></div>
<script type="text/javascript">

    $('#documentViewer').FlexPaperViewer(
            { config: {
                SWFFile: '@System.Configuration.ConfigurationManager.AppSettings["SavePath"]@Model.DisplayFilePath',
                jsDirectory: '/',
                Scale: 1.0,
                ZoomTransition: 'easeOut',
                ZoomTime: 0.5,
                ZoomInterval: 0.2,
                FitPageOnLoad: true,
                FitWidthOnLoad: false,
                FullScreenAsMaxWindow: false,
                ProgressiveLoading: false,
                MinZoomSize: 0.2,
                MaxZoomSize: 5,
                SearchMatchAll: false,
                InitViewMode: 'Portrait',
                RenderingOrder: 'flash',
                StartAtPage: '',

                ViewModeToolsVisible: true,
                ZoomToolsVisible: true,
                NavToolsVisible: true,
                CursorToolsVisible: true,
                SearchToolsVisible: true,
                WMode: 'window',
                localeChain: 'zh_CN'
            }
            }
    );
</script>